package com.VisualDisp.QuadCalculateProject.Calculations.Equations;

public class Result {

	
	private double x1,x2;
	
	
	public Result(double a, double b)
	{
		x1 = a;
		x2 = b;
	}
	
	public Result(double a)
	{
		this(a,a);
	}
	
	public Result()
	{
		this(0);
	}
	
	protected void setX1(double x1)
	{
		this.x1 = x1;
	}
	
	protected void setX2(double x2)
	{
		this.x2 = x2;
	}
	
	public double getX1()
	{
		return this.x1;
	}
	
	public double getX2()
	{
		return this.x2;
	}
}
